package functii_elementare;

public class Constanta extends Functie{
	protected double ct;

	public Constanta(double ct) {
		super();
		this.ct = ct;
	}
	
	public double calcul()
	{
		return ct;
	}
	public double calculDerivata()
	{
		return 0;
	}
	public String derivare()
	{
		return "0";
	}
	public String toString()
	{
		return ""+ct; //???????
	}
	
}
